import React, { Component } from 'react'
import { Link } from 'react-router-dom'
import RouterView from '../router2'

export default class Detail extends Component {
    render() {
        console.log(this.props)
        return (
            <div>
                Detail
                <div>
                    <Link to="/detail/aaa">aaaa</Link>
                </div>
                <RouterView routerList = { this.props.child }/>
            </div>
        )
    }
}
